package com.example.java_chatroom_redis_rabbitmq.constants;


public class Constant {
    public static final String path = "D:/tmp1/images/";
    public static final String[] imageType = {"image/png","image/jpeg","image/gif","image/bmp","image/svg+xml"};
    public static final String redisMessageKey = "JavaChatroom-redis-rabbitmq:message:sessionId:";
    public static final String normalTag = "normal";
    public static final String activeTag = "active";
    public static final String superTag = "super";

    public static final String redisOnlineTime = "JavaChatroom-redis-rabbitmq:onlineTime:userId:";

    //一天三个小时就可以当作是活跃用户
    public static final long activeStand = 1000 * 60 * 60 * 3 * 7;

    //一天五个消失认为是super状态用户
    public static final long superStand = 1000 * 60 * 60 * 5 * 7;
}
